# Basile Clout
# May 2007

# Configure.ac for GNU Build System autotools

AC_INIT([PaGridL],[1.0],[basile.clout@unb.ca])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall -Werror])
AC_PROG_RANLIB
AC_CONFIG_HEADERS([config.h])

AC_PROG_CC

# Check libraries

# Maths
AC_CHECK_LIB(m, hypot, [MATH_LIBS=-lm
 AC_SUBST(MATH_LIBS)], AC_MSG_ERROR([*** libm is required]))



AC_CONFIG_FILES([
	Makefile 
	src/Makefile
	Lib/Makefile
])

AC_OUTPUT
